package com.fujica.invoicing.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * @ClassName MVCController
 * @Description TODO
 * @Author admin
 * @Date 2020/8/17 9:57
 * @Version 1.0
 **/

@RestController
@RequestMapping("invoicing")
@Slf4j
public class MVCController {


    /**
     * 进货页面
     * @return
     */
    @GetMapping("/purchase")
    public ModelAndView purchase() {
        return new ModelAndView("purchase");
    }


    @GetMapping("/index")
    public ModelAndView index() {
        return new ModelAndView("index");
    }

    @GetMapping("/sell")
    public ModelAndView sell() {
        return new ModelAndView("sell");
    }
}
